package com.fhz.day014;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;

/**
 * 时间:2022/6/1
 *
 * @author msfeng
 * 简述: TODO
 */
public class MyBtn extends androidx.appcompat.widget.AppCompatButton {
    private static final String TAG = "MyBtn";

    public MyBtn(Context context) {
        super(context);
    }

    public MyBtn(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MyBtn(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }


 

    @Override
    public boolean dispatchTouchEvent(MotionEvent event) {
        Log.i(TAG, "dispatchTouchEvent: ");

        return super.dispatchTouchEvent(event);
    }


    @Override
    public boolean onTouchEvent(MotionEvent event) {
        return super.onTouchEvent(event);
    }



}

